package ltd.ninefish.framework.core.constant;

/**
 * @author zhaoxiubin
 * create-time 2023-12-11 13:22
 * description 网络常量
 **/

public interface NetConst {
    /**
     * 网络请求头中IP的值为：unknown
     */
    String UNKNOWN = "unknown";
    /**
     * 网络请求头中IP对应的KEY值：x-forwarded-for
     */
    String X_FORWARDED_FOR = "x-forwarded-for";
    /**
     * 网络请求头中IP对应的KEY值：Proxy-Client-IP
     */
    String PROXY_CLIENT_IP = "Proxy-Client-IP";
    /**
     * 网络请求头中IP对应的KEY值：WL-Proxy-Client-IP
     */
    String WL_PROXY_CLIENT_IP = "WL-Proxy-Client-IP";
    /**
     * 网络请求头中IP对应的KEY值：X-Real-IP
     */
    String X_REAL_IP = "X-Real-IP";
    /**
     * 网络请求头中IP对应的KEY值：HTTP_CLIENT_IP
     */
    String HTTP_CLIENT_IP = "HTTP_CLIENT_IP";
    /**
     * 网络请求头中IP对应的KEY值：HTTP_X_FORWARDED_FOR
     */
    String HTTP_X_FORWARDED_FOR = "HTTP_X_FORWARDED_FOR";
    /**
     * http请求
     */
    String HTTP = "http://";
    /**
     * https请求
     */
    String HTTPS = "https://";

}
